if (SERVER) then

	AddCSLuaFile( "shared.lua" )
	SWEP.Weight				= 5
	SWEP.AutoSwitchTo		= false
	SWEP.AutoSwitchFrom		= false

end

SWEP.Category				= "DanRod Pack v4"             --Category of your SWEP
SWEP.PrintName               = "weapon_g18"              -- Name of your SWEP
SWEP.Author				= "DanRod"                 --Author
SWEP.Purpose				= "War"                   -- Purpose of your SWEP
SWEP.Instructions				= "Primary Key = Fire Bullets. Secondary Key = Iron Sights"                -- Instructions
SWEP.ViewModelFOV			= 60                   -- FOV of your SWEP
SWEP.ViewModelFlip			= true                    -- Flip the view model? 
SWEP.ViewModel				= "models/weapons/v_dani_glock18.mdl"            -- View Model of your SWEP
SWEP.WorldModel				= "models/weapons/w_pist_glock18.mdl"          -- World Model 
SWEP.Spawnable				= true          --Can it be spawned by normal players?
SWEP.AdminSpawnable			= true           -- Can it be spawned by admin?
SWEP.Base                   = "weapon_az_base"              -- SWEP base, better don't touch this
SWEP.Slot		= 4
SWEP.SlotPos		= 5
/*--------------------------
Functions Init
---------------------------*/
SWEP.Primary.Sound = Sound("weapons/18/glock18.wav") -- Primary Sound
SWEP.Primary.BulNum = 1           --Number of bullets that your swep will shoot
SWEP.RPM = 1300          -- Rate Per Minute
SWEP.Primary.Automatic = false           -- Primary Automatic?
SWEP.MinSpread = 0            -- Minimal Spread of your SWEP
SWEP.MaxSpread = 0.9           -- Maximal Spread
SWEP.AddSpread = 0.02          -- Numer of spread that will be added each shot
SWEP.CoolDownTime = 0.3          -- How much Time it takes to restore you minimal spread
SWEP.Primary.ClipSize		= 17      -- Clip size
SWEP.Primary.DefaultClip	= 60      -- Amount of ammo  that your swep comes with
SWEP.Primary.Ammo			= "pistol"     -- Ammo Type
SWEP.CrossHairScale         = 0.05     -- The scale of your Crosshair
SWEP.Secondary.ClipSize		= -1      -- Don't touch it
SWEP.Secondary.DefaultClip	= -1     -- Don't Touch it too
SWEP.Secondary.Ammo			= "none"  -- Neither this
SWEP.ViewPunch     = 0.14          --By how much your View will be punched
SWEP.ViewKick = 1.0         --By how much your View will be kicked up
SWEP.Caliber                = "9x19mm"     -- SWep caliber, available calibers : "7.62x39", "5.56x45mm", "7.62x51mm NATO", "9x19mm", "5.45x39mm"
SWEP.IronSightModifier  = 0.7      -- How much your spread will be deceased/inceased when you use iron sights.
SWEP.JumpModifier = 1.3            --  "            "                    "           when you jump
SWEP.WalkModifier = 0.84            --  "            "                    "           when you walk
SWEP.CrouchModifier = 0.12          --  "            "                    "           when you crouch
SWEP.MuzzleEffect			= "muzzle_pistol"
SWEP.Hold  = "pistol"
SWEP.FASReload = false
SWEP.AvailableFireModes		= {"Semi","Burst"}
SWEP.ShellEffect		= "rg_shelleject"

SWEP.IronSightsPos = Vector (2.0041, -3.2412, 1.116)
SWEP.IronSightsAng = Vector (0.1817, -0.1501, 0)